<template>
	<view class="block" v-if="pageShow">
		<!-- 审核中 -->
		<template v-if="plg.status==0">
			<view class="flexcenter">
				<u-icon class="" name="clock-fill" color="#1BA95B" size="74"></u-icon>
			</view>
			<view class="margin_top bigtext xiaohei fonweight textcenter">审核中</view>
			<view class="margin_top2 bigtext xiaohei fonweight textcenter">审核中</view>
		</template>
		<!-- 审核成功 -->
		<template v-if="plg.status==1">
			<view class="flexcenter">
				<u-icon class="" name="checkmark-circle-fill" color="#1BA95B" size="74"></u-icon>
			</view>
			<view class="margin_top bigtext xiaohei fonweight textcenter">提交成功</view>
			<view class="margin_top2 bigtext xiaohei fonweight textcenter">审核中</view>
		</template>
		<!-- 审核失败 -->
		<template v-if="plg.status==2">
			<view class="flexcenter">
				<u-icon class="" name="error-circle-fill" color="#1BA95B" size="74"></u-icon>
			</view>
			<view class="margin_top bigtext xiaohei fonweight textcenter">审核失败</view>
			<view class="margin_top2 bigtext xiaohei fonweight textcenter">审核中</view>
		</template>
		
		
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				pageShow:false,
				plg: {}
			}
		},
		onShow() {
			this.userinfomsg()
		},
		methods: {
			userinfomsg() {
				httpRequest.request('/api/user/index', 'GET', {}).then(res => {
					this.plg = res.data.plg
					this.pageShow=true
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.block {
		padding: 280rpx 30rpx 0;
	}
</style>